<?php
    Class ConfigManager {
        private $db;

        public $host;
        public $username;
        public $password;
        public $dbName;

        public $js = array(
            "jquery-1.7.2.min.js",
            "jquery.pagination.js",
            "jquery.validate.min.js",
            "markerclusterer.js",
             "slide.js",
             "jquery-ui-1.8.20.custom.min.js",
//            "gmap3.min.js",

        );

        public $css = array(
             "total.css",
            "pagination.css",
            "float.css",
            "style.css",
            "slide_login.css",
            "style_login.css",
            "jquery-ui-1.8.20.custom.css",

        );

        public $jsmin = array("jsmin.js");
        public $cssmin  = array("cssmin.css");

        function __construct($db){
            $this->db = $db;

            if($_SERVER['HTTP_HOST'] == "localhost"){
                $this->host = 'localhost';
                $this->username = 'root';
                $this->password = '';
                $this->dbName = 'photro';

                error_reporting(E_ALL ^ E_WARNING);
            }else{
                $this->host = 'localhost';
                $this->username = 'photrotk_pt';
                $this->password = 'superwinner';
                $this->dbName = 'photrotk_pt';

                error_reporting(-1);
            }
        }





    }

?>